<?php
$this->pageTitle = 'Register Account - ' . Yii::app()->name;
?>

<header><h2>NoteBuddy Registration</h2></header>
<section>
    <?php if (Yii::app()->user->hasFlash('register-success')): ?>
    <div class="message success"><?php echo Yii::app()->user->getFlash('register-success'); ?></div>
    <?php
     else:
    echo $this->renderPartial('_form', array('model' => $model));
endif;
    ?>
</section>
